#include "Common.h"

class Sprite
{
public:
	float x = 0, y = 0, r = 0, level = 0, scaleX = 1.0f, scaleY = 1.0f, HitBoxW, HitBoxH;
	int flags = 1, TextureId;
	UINT Height, Width, CropX=0;
	D3DXCOLOR Color = 0xFFFFFFFF;
	Sprite();
	Sprite(int);
	bool IntersectsWith(Sprite*);
	float DistanceFrom(Sprite*);
	float DistanceFrom(D3DXVECTOR2);
};